import Gobj from "./Gobj";

export default class Gstatic{
    static speed = 100;
    static ylen  = 460 * 100 ;  //( 1260 - 800 ) * 100;
    static xlen  = 580 * 100 ;  //( 665  - 85  ) * 100;

    static bposMap1 = [{ x: 39, y: 40 }];
    static bposMap2 = [{ x: 59, y: 22 }, { x: 19, y: 58 }];
    static bposMap3 = [{ x: 59, y: 22 }, { x: 39, y: 40 }, { x: 19, y: 58 }];
    static bposMap4 = [{ x: 19, y: 22 }, { x: 59, y: 22 }, { x: 19, y: 58 }, { x: 59, y: 58 }];
    static bposMap5 = [{ x: 19, y: 22 }, { x: 59, y: 22 }, { x: 39, y: 40 }, { x: 19, y: 58 }, { x: 59, y: 58 }];
    static bposMap6 = [{ x: 19, y: 22 }, { x: 59, y: 22 }, { x: 19, y: 40 }, { x: 59, y: 40 }, { x: 19, y: 58 }, { x: 59, y: 58 }];

    static bposMap = [];

    static init_(){
        this.bposMap.push( this.bposMap1 );
        this.bposMap.push( this.bposMap2 );
        this.bposMap.push( this.bposMap3 );
        this.bposMap.push( this.bposMap4 );
        this.bposMap.push( this.bposMap5 );
        this.bposMap.push( this.bposMap6 );

        // var arr = this.bposMap;
        // for (let i = 0; i < arr.length; i++) {
        //     const arr2 = arr[i];
        //     for (let j = 0; j < arr2.length; j++) {
        //         const bpos = arr2[j];
        //         bpos.x = bpos.x * 100;
        //         bpos.y = bpos.y * 100;
        //     }
        //     console.log( arr2 );
        // }
    }

    
}